//
//  UserInfomationManager.h
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/4/21.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UserInfomationManager : NSObject

+(instancetype)shareManager;

//更新用户信息
+(void)updateUserInfo:(NSDictionary *)userInfo;

//退出登录
+(void)loginOut;

@property (nonatomic,copy) NSString *token;//用户token

@property (nonatomic,assign) NSInteger userId;//用户id

@property (nonatomic,assign) BOOL loginStatus;//用户登录状态  默认为NO

@property (nonatomic,assign) float balance;//用户余额

@property (nonatomic,assign) float credit;//用户余额  积分  TB

@property (nonatomic,assign) NSInteger identity;//用户类型

@property (nonatomic,copy) NSString *type;//类型名称

@property (nonatomic,copy) NSString *name;//用户昵称

@property (nonatomic,copy) NSString *photo;//用户头像

@property (nonatomic,copy) NSString *qrcode;//用户二维码





@end

NS_ASSUME_NONNULL_END
